Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NullReferenceException at getCapacity->getBlockMetadata #97

Conversation

Pilzinsel64
Copy link

@Pilzinsel64 Pilzinsel64 commented Feb 9, 2023

It's not critical at all but I've found this little missing check after one of my previous PRs got merged.

Before: Error message in Server Console without any effect to the functionality at loading a solar panel's data.
After: No error message.

@Pilzinsel64 Pilzinsel64 changed the title Fix NullReferenceException on getBlockMetadata Fix NullReferenceException at getCapacity->getBlockMetadata Feb 9, 2023
@Dream-Master Dream-Master requested review from a team February 10, 2023 20:18
@Dream-Master Dream-Master merged commit b5752a8 into GTNewHorizons:master Feb 10, 2023
@Pilzinsel64 Pilzinsel64 deleted the fix-nullpointerexception-solarpanels branch February 10, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants